package com.htudata.transctLive.pojo.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class TransctFlowGraphicDisplayVo implements Serializable {
  private static final long serialVersionUID = -6410873555861632226L;
  
  private String flowId;
  
  private String name;
  
  private long dataTypeId;
  
  private String descpt;
  
  private String boardType;
  
  private long nodexIndex;
  
  private int maxX;
  
  private int maxY;

  private List<TransctNodeVO> nodes = new ArrayList<>();

  private List<TransctLinkVO> links = new ArrayList<>();

  public boolean equals(Object o) {
    if (o == this)
      return true; 
    if (!(o instanceof TransctFlowGraphicDisplayVo))
      return false; 
    TransctFlowGraphicDisplayVo other = (TransctFlowGraphicDisplayVo)o;
    if (!other.canEqual(this))
      return false; 
    Object this$flowId = getFlowId(), other$flowId = other.getFlowId();
    if ((this$flowId == null) ? (other$flowId != null) : !this$flowId.equals(other$flowId))
      return false; 
    Object this$name = getName(), other$name = other.getName();
    if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name))
      return false; 
    if (getDataTypeId() != other.getDataTypeId())
      return false; 
    Object this$descpt = getDescpt(), other$descpt = other.getDescpt();
    if ((this$descpt == null) ? (other$descpt != null) : !this$descpt.equals(other$descpt))
      return false; 
    Object this$boardType = getBoardType(), other$boardType = other.getBoardType();
    if ((this$boardType == null) ? (other$boardType != null) : !this$boardType.equals(other$boardType))
      return false; 
    if (getNodexIndex() != other.getNodexIndex())
      return false; 
    if (getMaxX() != other.getMaxX())
      return false; 
    if (getMaxY() != other.getMaxY())
      return false; 
    Object this$nodes =getNodes(), other$nodes =other.getNodes();
    if ((this$nodes == null) ? (other$nodes != null) : !this$nodes.equals(other$nodes))
      return false; 
    Object this$links = getLinks(), other$links =other.getLinks();
    return !((this$links == null) ? (other$links != null) : !this$links.equals(other$links));
  }
  
  protected boolean canEqual(Object other) {
    return other instanceof TransctFlowGraphicDisplayVo;
  }


}
